package cn.edu.scau.cmi.mazhuanglong.esercise5;

public class Student2 {
	private int age;

	public void setAge(int age) {
		if (age >= 7 && age <= 28) {
			this.age = age;
		}
	}

	public int getAge() {
		return age;
	}

}
